Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the behavior of throwing table not found error during CREATE OR REPLACE Delta uniform table #3845

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lzlfred
Copy link
Contributor

@lzlfred lzlfred commented Nov 5, 2024

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

If its the first time we are creating the delta uniform table and the table does not exist yet, we want to synchronously trigger the uniform conversion after the CreateDeltaTableCommand have created the table in the catalog; The existing code only checked for isReplace, but it missed to check if the table existed in the catalog or not. Adding this check fixes the behavior of throwing table not found error during CREATE OR REPLACE Delta uniform table for the very first time.

How was this patch tested?

manual test.

@lzlfred lzlfred changed the title impl Fixes the behavior of throwing table not found error during CREATE OR REPLACE Delta uniform table Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants